package com.party.service;

import com.party.common.entity.MyPage;
import com.party.entity.PbBanner;
import com.baomidou.mybatisplus.extension.service.IService;
import com.party.entity.PbDevice;
import com.party.entity.dto.QueryBannerDto;
import com.party.entity.dto.QueryDeviceDto;

/**
 * <p>
 * banner
 服务类
 * </p>
 *
 * @author ccl
 * @since 2024-10-25
 */
public interface PbBannerService extends IService<PbBanner> {

    boolean add(PbBanner pbBanner);

    boolean edit(PbBanner pbBanner);

    boolean delete(Long id);

    MyPage<PbBanner> queryPage(QueryBannerDto dto);

    PbBanner detail(Long id);
}
